package com.wxmit.module.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wxmit.module.system.domain.SysLoginLog;
import com.wxmit.module.system.domain.vo.LoginLogVO;
import com.wxmit.system.base.core.ShushanBaseMapper;
import com.wxmit.system.base.core.ShushanPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Description
 * @Author huangxiong
 * @Date 2022/7/13 14:20
 * @Version V1.0
 */
@Mapper
public interface SysLoginLogMapper extends ShushanBaseMapper<SysLoginLogMapper, SysLoginLog> {
    IPage<SysLoginLog> listPage(@Param("page") ShushanPage page, @Param("log") SysLoginLog searchData);

    void clear();

    List<LoginLogVO> workBenchLoginLog(@Param("loginId") Object loginId,@Param("dateList") List<String> dateList);
}
